from pyNastran.bdf.bdf import BDF

# 创建 BDF 对象
model = BDF()

# 读取 BDF 文件
model.read_bdf('example.bdf')

# 打印模型信息
print(model.get_bdf_stats())